/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.csit.iap.domain;

/**
 *
 * @author Kundzia
 */
public class ResponseItem {

    private Book book;
    private int amount;
    private int id;

    public ResponseItem(Book book, int amount, int id) {
        this.book = book;
        this.amount = amount;
        this.id = id;
    }

    public ResponseItem() {
    }

    public void setBook(Book book) {
        this.book = book;
    }

    public void setAmount(int amount) {
        this.amount = amount;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getAmount() {
        return amount;
    }

    public Book getBook() {
        return book;
    }

    public int getId() {
        return id;
    }
}
